package com.binest.system.webMessage.domain;

import com.binest.common.annotation.Excel;
import com.binest.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 网站消息对象 web_message
 *
 * @author wwd
 * @date 2024-02-02
 */
public class WebMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 收录主表id */
    @Excel(name = "收录主表id")
    private String inclusionMainId;

    /** 收录类型 */
    @Excel(name = "收录类型")
    private String inclusionType;

    /** 消息标题 */
    @Excel(name = "消息标题")
    private String title;

    /** 消息名称 */
    @Excel(name = "消息名称")
    private String name;

    /** 消息类型 */
    @Excel(name = "消息类型")
    private String type;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String content;

    /** 消息状态 */
    @Excel(name = "消息状态")
    private String status;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setInclusionMainId(String inclusionMainId)
    {
        this.inclusionMainId = inclusionMainId;
    }

    public String getInclusionMainId()
    {
        return inclusionMainId;
    }
    public void setInclusionType(String inclusionType)
    {
        this.inclusionType = inclusionType;
    }

    public String getInclusionType()
    {
        return inclusionType;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inclusionMainId", getInclusionMainId())
            .append("inclusionType", getInclusionType())
            .append("title", getTitle())
            .append("name", getName())
            .append("type", getType())
            .append("content", getContent())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
